package lxt.entity;
// default package

import java.util.Date;


/**
 * CostPetrol entity. @author MyEclipse Persistence Tools
 */

public class CostPetrol  implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
    // Fields    
	 private String id;
     private String truckId;
     private String orderId;
     private String driverId;
     private String petrolType;
     private double petrolQuantity;
     private double unitPrice;
     private String petrolStation;
     private double totalCharge;
     private Date petrolDate;
     private String note;
     private Date entryTime;
     private String entryUser;


    // Constructors

    /** default constructor */
    public CostPetrol() {
    }

	/** minimal constructor */
    public CostPetrol(Date entryTime) {
        this.entryTime = entryTime;
    }
    
    /** full constructor */
    public CostPetrol(String truckId, String orderId, String driverId, String petrolType, long petrolQuantity, long unitPrice, String petrolStation, long totalCharge, Date petrolDate, String note, Date entryTime, String entryUser) {
        this.truckId = truckId;
        this.orderId = orderId;
        this.driverId = driverId;
        this.petrolType = petrolType;
        this.petrolQuantity = petrolQuantity;
        this.unitPrice = unitPrice;
        this.petrolStation = petrolStation;
        this.totalCharge = totalCharge;
        this.petrolDate = petrolDate;
        this.note = note;
        this.entryTime = entryTime;
        this.entryUser = entryUser;
    }

   
    // Property accessors

    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }

    public String getTruckId() {
        return this.truckId;
    }
    
    public void setTruckId(String truckId) {
        this.truckId = truckId;
    }

    public String getOrderId() {
        return this.orderId;
    }
    
    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getDriverId() {
        return this.driverId;
    }
    
    public void setDriverId(String driverId) {
        this.driverId = driverId;
    }

    public String getPetrolType() {
        return this.petrolType;
    }
    
    public void setPetrolType(String petrolType) {
        this.petrolType = petrolType;
    }

    public double getPetrolQuantity() {
        return this.petrolQuantity;
    }
    
    public void setPetrolQuantity(double petrolQuantity) {
        this.petrolQuantity = petrolQuantity;
    }

    public double getUnitPrice() {
        return this.unitPrice;
    }
    
    public void setUnitPrice(double unitPrice) {
        this.unitPrice = unitPrice;
    }

    public String getPetrolStation() {
        return this.petrolStation;
    }
    
    public void setPetrolStation(String petrolStation) {
        this.petrolStation = petrolStation;
    }

    public double getTotalCharge() {
        return this.totalCharge;
    }
    
    public void setTotalCharge(double totalCharge) {
        this.totalCharge = totalCharge;
    }

    public Date getPetrolDate() {
        return this.petrolDate;
    }
    
    public void setPetrolDate(Date petrolDate) {
        this.petrolDate = petrolDate;
    }

    public String getNote() {
        return this.note;
    }
    
    public void setNote(String note) {
        this.note = note;
    }

    public Date getEntryTime() {
        return this.entryTime;
    }
    
    public void setEntryTime(Date entryTime) {
        this.entryTime = entryTime;
    }

    public String getEntryUser() {
        return this.entryUser;
    }
    
    public void setEntryUser(String entryUser) {
        this.entryUser = entryUser;
    }
   








}